#import "JVPharosFirstTimeModel.h"

@implementation JVPharosFirstTimeModel

+ (JVPharosFirstTimeModel *)generatePharosItemModel:(id)requestModel{
//    NSDictionary *info = [requestModel firstLoadTimeInfo];
    JVPharosFirstTimeModel *itemModel = [JVPharosFirstTimeModel new];
//    NSDate *startDate = [info objectForKey:@"startDate"];
//    if (startDate) {
//        NSTimeInterval interval = [[NSDate date] timeIntervalSinceDate:startDate];
//        itemModel.ti = [[NSString stringWithFormat:@"%.2f",interval*NSEC_PER_USEC]doubleValue];
//    }
//    itemModel.type = @"render_show";
//    itemModel.domain = [info objectForKey:@"domain"];
//    itemModel.co = [info objectForKey:@"container"];
//    itemModel.mainUrl = [requestModel requestURL];
//    NSDictionary *d = @{
//                        @"url": itemModel.mainUrl?:@"",
//                        @"co": itemModel.co?:@""
//                        };
//    itemModel.d = [d lfx_toJSONString]?:@"";
    return itemModel;
}

- (NSDictionary *)fieldEvent
{
    return @{@"count": @"1"};
}

- (NSDictionary *)fieldTransaction
{
    return @{@"ti": @(self.ti)};
}

@end
